#不处理同名文件索引
file_indexer: file_indexer.c
	-$(CC) -o $@ $^

clean_old:
	-rm -f file_indexer

install_old: file_indexer
	cp file_indexer /usr/local/bin/

uninstall_old:
	rm -f /usr/local/bin/file_indexer

#显示所有同名文件索引
improve_file_indexer: improve_file_indexer.c
	-$(CC) -o $@ $^

clean_new:
	-rm -f improve_file_indexer

install_new: improve_file_indexer
	cp improve_file_indexer /usr/local/bin/

uninstall_new:
	rm -f /usr/local/bin/improve_file_indexer